<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
%>

<!DOCTYPE html>
<html lang="zh-cn" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>云医通开放性接口平台</title>
<link rel="stylesheet" type="text/css" href="./css/mserver.css" />
<link rel="stylesheet" type="text/css" href="./css/calender.css" />
<link rel="stylesheet" type="text/css" href="./css/mserverother.css" />
<link rel="stylesheet" type="text/css" href="./css/tip-yellow.css" />
<link rel="stylesheet" type="text/css" href="./css/tip-darkgray.css" />
<link rel="stylesheet" type="text/css" href="./css/tableStyle.css" />
<script src="./js/jquery-1.8.0.min.js"></script>
<script src="./js/Common.js"></script>
</head>

<body>
	<div class="mserver imenu">
        <div class="header">
            <div class="inner cf" style="position: relative;">
                <a title="云医通开放性接口平台" href="Document.jsp">
                    <h2>
                        <span></span>
                    </h2>
                </a>
                <ul>
                    <li><a id="documentCenter" title="文档中心" target="_self">文档中心</a> <em style="display: block; margin-top: -1px; height: 8px;"></em></li>

                    <li><a id="applicationCenter" href="javascript:void(0);" title="" target="_self">应用接入</a></li>
                </ul>
                <div class="ibtn">
                    <a href="javascript:void(0);" title="登录" target="_self" class="btn_log"><span>登录</span></a> <a style="cursor: pointer;" title="设置个人信息" target="_self" class="btn_info" href="javascript:void(0);"><span>设置个人信息</span></a>
                </div>
                <div style="clear: right;"></div>
                <div class="ibtn" style="position: absolute; bottom: 0px; right: 0px;">
                    <input id="txt_Search" type="text" />
                    <a href="javascript:Public.SearchAPI();" title="查找" target="_self" class="btn_Search"><span>查找</span></a>
                </div>
            </div>
        </div>
        <input type="hidden" id="local_url" value="" />
        <div class="open_wrap">
            <div class="title_logo">
                <img src="./images/open_title.png" />
            </div>

            <div class="open_content">
                <div class="open_main clearfix">

                    <div class="left">
                        <div class="now taggle_box">
                            <h1>
                                <a href="javascript:void(0);" class="now taggle_a">
                                    <div>平台介绍</div>
                                    <span></span>
                                </a>
                            </h1>
                            <ul state="1">
                                <li><a class="now" id="aboutplatform" href="javascript:Public.ChangePage('AboutPlatform.jsp');">
                                    <div>平台简介</div>
                                </a></li>
                            </ul>
                        </div>

                        <div class="taggle_box">
                            <h1>
                                <a href="javascript:void(0);" class="taggle_a">
                                    <div>开发文档</div>
                                    <span></span>
                                </a>
                            </h1>
                            <ul state="2">
                                <li>
                                    <div>
                                        <a id="apiclass" href="javascript:Public.ChangePage('ApiClass.jsp');">接口列表</a>
                                    </div>
                                </li>
                                <li>
                                    <div>
                                        <a id="errorcode" href="javascript:Public.ChangePage('ErrorCode.jsp');">错误码一览</a>
                                    </div>
                                </li>
                                <li>
                                    <div>
                                        <a id="calldescription" href="javascript:Public.ChangePage('CallDescription.jsp');">接口调用说明</a>
                                    </div>
                                </li>
                            </ul>
                        </div>

                        <div class="taggle_box">
                            <h1>
                                <a href="javascript:void(0);" class="taggle_a">
                                    <div>平台规则</div>
                                    <span></span>
                                </a>
                            </h1>
                            <ul state="2">
                                <li>
                                    <div>
                                        <a id="consultation" href="javascript:Public.ChangePage('Consultation.jsp');">平台协议</a>
                                    </div>
                                </li>
                            </ul>
                        </div>

                        <div class="taggle_box">
                            <h1>
                                <a href="javascript:void(0);" class="taggle_a">
                                    <div>常见问题</div>
                                    <span></span>
                                </a>
                            </h1>
                            <ul state="2">
                                <li>
                                    <div>
                                        <a id="feedback" href="javascript:Public.ChangePage('Feedback.jsp');">问题反馈</a>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <!-- end of left -->

                    <iframe id="frame_content" src="AboutPlatform.jsp" scrolling="no" frameborder="0" style="width: 990px; float: right;"></iframe>
                    <!-- end of right -->

                </div>
                <!-- end of open_main -->
            </div>
            <!-- end of open_content -->
        </div>
        <!-- end of open_wrap -->

        <div class="footer" style="clear: both; margin-top: 600px;">
            <p>Copyright &copy; 广州云医科技有限公司 2015-2016, All Rights Reserved</p>
        </div>

        <a href="#" class="go_top"></a>

    </div>

	<script type="text/javascript">
		function CheckUrl() {
        	page = Public.GetUrlParam('page');
        	
        	if ($.trim(page).length > 0) {
        		Public.ChangePage(page);
        	}
        }
	
		$(function() {
			path = "<%=path%>/";
			CheckUrl();

			$('.taggle_box .taggle_a').click(function() {
				var thisA = $(this);
				var thisBox = thisA.parent('h1').parent('.taggle_box').find('ul');
				if (thisBox.attr('state') == 1) {
					thisBox.attr('state', '2');
					thisBox.slideUp(200);
					thisBox.parent('.taggle_box').removeClass('now');
				} else if (thisBox.attr('state') == 2) {
					thisBox.attr('state', '1');
					thisBox.slideDown(200);
					thisBox.parent('.taggle_box').addClass('now');
				} else {
					thisBox.attr('state', '2');
					thisBox.slideUp(200);
					thisBox.parent('.taggle_box').removeClass('now');
				}
			});
		});
	</script>

</body>
</html>
